﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace USERS.CYT369.COM.MODELS.Brand
{
    /// <summary>
    /// 轮播图表
    /// </summary>
    [Table("TB_Carousel")]
    public class Carousel
    {
        public int Id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        public int? BrandID {  get; set; }

        /// <summary>
        /// 文件扩展名
        /// </summary>
        public string FileExtension {  get; set; }

        /// <summary>
        /// 图片名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 图片资源路径
        /// </summary>
        public string ImagePath {  get; set; }

        /// <summary>
        /// 顺序号
        /// </summary>
        public int OrderNumber {  get; set; }

        /// <summary>
        /// 创建人ID
        /// </summary>
        public int CreatorID {  get; set; } 

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enable {  get; set; }

        /// <summary>
        /// 审核人员id
        /// </summary>
        public int? ReviewerID {  get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ReviewDate { get; set; }

        /// <summary>
        /// 品牌-轮播图
        /// </summary>
        public Brand? Brand { get; set; }
    }
}
